package com.example.demo.repository;

import com.example.demo.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;



public interface UserRepository extends PagingAndSortingRepository<User, Long> {
	
	public Page<User> findAll(Pageable pageable);
	public List<User> findAll();
	
}
